package ibg;

class SolutionTest2 {

	public static void main(String args[]) {
		int[] A = {1, 0, -1, 1, 1, -1, -1};
		System.out.println("Solution: " + solution(A, 7, 2));
	}
	
	public static int solution(int[] A, int N, int S) {
		 int size = N;
		 int sum = S;
		 int tempSum = 0;
		 int maxSoFar = -1;
		 
		/* for(int i = 0; i < size; i++){
			 for(int j = 1; j <= i; j++){
		        tempSum += if(A[i]);
			 }
	        
		 }*/
		 return maxSoFar;
	}
	
}
